.ant-tree-node-content-wrapper {
    width: calc(100% - 18px);
  }